package com.fdb.efp.nls.service.vo;

import com.fdb.basic.framework.core.vo.BaseInfo;

import java.math.BigDecimal;

/**
 * <p>
 * Description: 机构限额表
 * <p>
 * 
 * @author chenqm1
 * @date 2018-05-25
 */
public class SOrgLimitVO extends BaseInfo {

	private static final long serialVersionUID = 1L;

	/** 主键 **/
	private String id;

	/** 机构法人代码 */
	private String legalOrgCode;
	/** 机构法人名称 */
	private String legalOrgName;
	/** 法人机构限额 */
	private BigDecimal orgLimitAmt;
	/** 限额开始日期 */
	private String orgLimitStartDate;
	/** 限额结束日期 */
	private String orgLimitEndDate;
	/** 限额状态 */
	private String orgLimitSts;
	/** 创建人 */
	private String createUser;
	/** 创建时间 */
	private String createTime;
	/** 最后修改人 */
	private String lastUpdateUser;
	/** 最后修改日期 */
	private String lastUpdateTime;

	/**区间查询**/
	private String[] orgLimitDate;
	
	/**查询日期yyyy-MM-dd**/
	private String queryDate;
	/**创建法人机构*/
	private String createOrgCode;
	/**审批状态*/
	private String approveStatus;
	/**审批日期*/
	private String aprvDate;
	/**审批意见*/
	private String aprvComment;
	/**审批人*/
	private String aprvUserCode;
	public String getCreateOrgCode() {
		return createOrgCode;
	}
	public void setCreateOrgCode(String createOrgCode) {
		this.createOrgCode = createOrgCode;
	}
	public String getApproveStatus() {
		return approveStatus;
	}
	public void setApproveStatus(String approveStatus) {
		this.approveStatus = approveStatus;
	}
	
	public String getAprvDate() {
		return aprvDate;
	}
	public void setAprvDate(String aprvDate) {
		this.aprvDate = aprvDate;
	}
	public String getAprvComment() {
		return aprvComment;
	}
	public void setAprvComment(String aprvComment) {
		this.aprvComment = aprvComment;
	}
	public String getAprvUserCode() {
		return aprvUserCode;
	}
	public void setAprvUserCode(String aprvUserCode) {
		this.aprvUserCode = aprvUserCode;
	}
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setLegalOrgCode(String legalOrgCode) {
		this.legalOrgCode = legalOrgCode;
	}

	public String getLegalOrgCode() {
		return this.legalOrgCode;
	}

	public void setLegalOrgName(String legalOrgName) {
		this.legalOrgName = legalOrgName;
	}

	public String getLegalOrgName() {
		return this.legalOrgName;
	}

	public void setOrgLimitAmt(BigDecimal orgLimitAmt) {
		this.orgLimitAmt = orgLimitAmt;
	}

	public BigDecimal getOrgLimitAmt() {
		return this.orgLimitAmt;
	}

	public void setOrgLimitStartDate(String orgLimitStartDate) {

		this.orgLimitStartDate = orgLimitStartDate;
	}

	public String getOrgLimitStartDate() {
		return this.orgLimitStartDate;
	}

	public void setOrgLimitEndDate(String orgLimitEndDate) {
		this.orgLimitEndDate = orgLimitEndDate;
	}

	public String getOrgLimitEndDate() {
		return this.orgLimitEndDate;
	}

	public void setOrgLimitSts(String orgLimitSts) {
		this.orgLimitSts = orgLimitSts;
	}

	public String getOrgLimitSts() {
		return this.orgLimitSts;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public String getLastUpdateUser() {
		return this.lastUpdateUser;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public String[] getOrgLimitDate() {
		 
		if (orgLimitDate == null || orgLimitDate.length == 0) {
			orgLimitDate = new String[2];
			orgLimitDate[0] = orgLimitStartDate;
			orgLimitDate[1] = orgLimitEndDate;
		}
		return orgLimitDate;
	}

	public void setOrgLimitDate(String[] orgLimitDate) {
		this.orgLimitDate = orgLimitDate;

		
	}

	public String getQueryDate() {
		return queryDate;
	}

	public void setQueryDate(String queryDate) {
		this.queryDate = queryDate;
	}

}
